package lab02.test06;

/**
 * Created by mac on 2017/10/15.
 */
public class Circle {

    //属性：半径，周长，面积
    public double PI=3.14;
    public double r;
    public double Length;
    public double Area;

    //行为：返回周长，面积
    public double getLength() {
        return PI*r*2;
    }

    public double Area() {
        return PI*r*r;
    }

}
